package com.zbs.framework.dao.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * Created by Zbs
 * 2019-07-16 16:03
 * 用户登录event
 */
@Getter
public class UserLoggedInEvent extends ApplicationEvent {

    private String acctUuid; // 账户的uuid
    private String entryType; // 账户登入类型
    private Long userId;// 用户Id
    private String name; // 姓名

    public UserLoggedInEvent(Object source, String acctUuid,
                             String entryType, Long userId, String name) {
        super(source);
        this.acctUuid = acctUuid;
        this.entryType = entryType;
        this.userId = userId;
        this.name = name;
    }
}
